﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="按车主查询.aspx.cs" Inherits="bb_按车主查询" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
    <style type="text/css">


        .auto-style1 {
            color: #00FF00;
            font-size: x-large;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div id ="a">
      <p style="text-align:center; margin:20px;height: 34px; padding:10px 0px;" class="auto-style1"><strong>查询车主信息</strong></p>
    </div>
        <div id ="b">
           <a style="font-size:20px; ">请输入要查询的车主编号或车主姓名</a>&nbsp;&nbsp;&nbsp;&nbsp;
            <asp:TextBox ID="txtID" runat="server"></asp:TextBox>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<asp:Button ID="Button1" runat="server" OnClick="Button1_Click" style="color: #3333CC" Text="查询" />
            &nbsp;&nbsp;&nbsp;&nbsp;
            <br />
            <br />
            <br />
            <br />
            <br />
            <asp:GridView ID="gvInsert" runat="server" AutoGenerateColumns="False" BackColor="White" BorderColor="#DEDFDE" 
                BorderStyle="None" BorderWidth="1px" CellPadding="4" ForeColor="Black" GridLines="Vertical" Height="186px" 
              
             Width="866px" DataKeyNames="Bid"
               
                nPageIndexChanging="gvInsert_PageIndexChanging" OnPageIndexChanging="gvInsert_PageIndexChanging" 
              
           
         
     >
                <AlternatingRowStyle BackColor="White" />
                <Columns>
                    <asp:BoundField DataField="Bid" HeaderText="车主编号" ReadOnly="True" />
                    <asp:BoundField DataField="Bname" HeaderText="姓名" ReadOnly="True" />
                    <asp:BoundField DataField="Bsex" HeaderText="性别" ReadOnly="True" />
                    <asp:BoundField DataField="Bphone" HeaderText="联系方式" ReadOnly="True" />
                    <asp:BoundField DataField="Bhome" HeaderText="家庭住址" />
                </Columns>
                <FooterStyle BackColor="#CCCC99" />
                <HeaderStyle BackColor="#6B696B" Font-Bold="True" ForeColor="White" />
                <PagerStyle BackColor="#F7F7DE" ForeColor="Black" HorizontalAlign="Right" />
                <RowStyle BackColor="#F7F7DE" />
                <SelectedRowStyle BackColor="#CE5D5A" Font-Bold="True" ForeColor="White" />
            </asp:GridView>
          
            <br />
        </div>
    </form>
</body>
</html>
